#ifndef LISTVIEWWITHTITLE_H
#define LISTVIEWWITHTITLE_H

#include <QWidget>
#include "listviewshowitem.h"

namespace Ui {
class ListViewWithTitle;
}
class QLabel;
class TListView;





class ListViewWithTitle : public QWidget
{
    Q_OBJECT

public:
    explicit ListViewWithTitle(QWidget *parent = 0);
    ~ListViewWithTitle();

    TListView *getListView();
    void setShowItems(const QList<ListViewShowItem> &items);
    QLabel *getLabel(const QString &str);
private:
    Ui::ListViewWithTitle *ui;
    //RecordlistModel *mModel;
    //RecordListDelegate *mDelegate;
    QList<QLabel*> mLabelTbl;
};

#endif // LISTVIEWWITHTITLE_H
